summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-03-16 01:19:45 +0100
committerGitHub <noreply@github.com>2023-03-16 01:19:45 +0100
commit6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09 (patch)
tree2a1aefbc221bf3d3303e4ac0091c3f28d6b41fce
parentMerge pull request #9931 from liamwhite/sched (diff)
parentvulkan: disable extendedDynamicState3ColorBlendEquation on radv (diff)
downloadyuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.tar
yuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.tar.gz
yuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.tar.bz2
yuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.tar.lz
yuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.tar.xz
yuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.tar.zst
yuzu-6d76a54d3768f45bb6aa7a1a4b4999a0b9b77e09.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index df348af55..6f288b3f8 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -401,6 +401,12 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
}
}
+ if (extensions.extended_dynamic_state3 && is_radv) {
+ LOG_WARNING(Render_Vulkan, "RADV has broken extendedDynamicState3ColorBlendEquation");
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false;
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false;
+ dynamic_state3_blending = false;
+ }
if (extensions.vertex_input_dynamic_state && is_radv) {
// TODO(ameerj): Blacklist only offending driver versions
// TODO(ameerj): Confirm if RDNA1 is affected